<?php
use frontend\assets\AppAsset;

AppAsset::register($this);
$this->params['breadcrumbs'][] = $this->title;
$image_bath_url = Yii::$app->params['static'];
?>
<?php
AppAsset::addCss($this, $image_bath_url . "/static/pc/css/news-list.css");
AppAsset::addCss($this, $image_bath_url . "/static/common/video/video-js.css");
?>
<article>
    <div class="w br4 mt50"></div>
    <section class="news_content w mt70">
        <div class="news-center-w">
        	<?php if (count($article) > 0){?>
            <div class="title">
                <img data-original="<?=$image_bath_url.'/'.$article_category['category_pic']?>" alt="title">
            </div>
            <div class="banner mt40 pr">
                <div class="video-show pr js_v">
                	<img src="<?=$image_bath_url.'/'.$article['article_pic']?>" alt="banner">
                    <span class="icon icon-video mid"></span>
                    <video id="video0"  class="video-js vjs-big-play-centered hide video" controls preload="none" poster="" >
                        <source src="<?=$videoUrl?>" type='video/mp4' />
                    </video>
                </div>
                <a href="javascript:;">
                    <div class="news_info">
                        <h5 class="h5"><?=$article['article_title']?></h5>
                        <p><?=$article['description']?></p>
                    </div>
                </a>
            </div>
            <?php }?>
        </div>
    </section>
</article>
<?php
AppAsset::addJs($this,$image_bath_url."/static/common/video/video.min.js?version=".Yii::$app->params['version']);
AppAsset::addJs($this,$image_bath_url."/static/pc/js/videoPlay.js?version=".Yii::$app->params['version']);
?>